package com.zb.sinocare.baobiaogl;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.CrossOrigin;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableSwagger2
@SpringBootApplication
@CrossOrigin
@MapperScan(value = "com.zb.sinocare.baobiaogl")
@ComponentScan("com.zb.sinocare")
public class BaobiaoglApplication {
    public static void main(String[] args) {
        SpringApplication.run(BaobiaoglApplication.class);
    }
}
